package com.mezz.bones.mcp.server.service.tools;

import com.mezz.bones.mcp.server.annotation.McpTool;
import org.springframework.ai.tool.annotation.Tool;
import org.springframework.ai.tool.annotation.ToolParam;
import org.springframework.stereotype.Service;

@Service
@McpTool(group = "translation", description = "翻译工具")
public class TranslateService {
    
    @Tool(description = "中英文翻译")
    public String translate(
        @ToolParam(description = "要翻译的文本") String text,
        @ToolParam(description = "目标语言，例如：en（英语）, zh（中文）") String targetLang
    ) {
        // 实现翻译逻辑
        return "翻译结果";
    }
} 